package com.zm.demo.shoppingmall.storage.api;

import com.zm.demo.shoppingmall.storage.model.TStorage;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @desc:
 * @author: z01140
 * @date: 2021/5/25 9:57
 */
public interface StorageService {

    int addStorage(TStorage storage);

    int updateStorage(TStorage storage);

    int deleteStorageById(int StorageId);

    TStorage getStorageById(int StorageId);

    TStorage getStorageByProductNo(String productNo, LocalDateTime date);

}
